<?php
header('content_type:text/html;charset=utf_8');
$link=mysqli_connect('localhost','root','');
if(!$link) {
    die('数据库连接失败!' . mysqli_error($link));
}
mysqli_query($link,'set names utf8');
mysqli_query($link,'use `itcast`');
$sql='select* from `emp_info`';
$result=mysqli_query($link,$sql);
$emp_info=array();
while($row=mysqli_fetch_assoc($result)) {
    $emp_info[] = $row;
}
define('APP','itcast');
    require './list_html.php';
    <a href="./show_List.php?order=e_dept&sort=desc"></a>
    $order=$_GET['order'];
    $sort=$_GET['sort'];